package com.dsp.services.impl;

import java.io.Serializable;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.core.util.GenericDAO;
import com.core.util.GenericServiceHibernate;
import com.dsp.bean.Seq;
import com.dsp.dao.SeqDAO;
import com.dsp.services.SeqService;

@Service("seqService")
public class SeqServiceImpl extends GenericServiceHibernate<Seq, Long> implements SeqService {

	@Autowired
	private SeqDAO seqDAO;

	@Resource(name = "seqDAO")
	public void setDao(GenericDAO<Seq, Serializable> dao) {
		super.setDao(dao);
	}

	/**
	 * @return the seqDAO
	 */
	public SeqDAO getSeqDAO() {
		return seqDAO;
	}

	/**
	 * @param seqDAO the seqDAO to set
	 */
	public void setSeqDAO(SeqDAO seqDAO) {
		this.seqDAO = seqDAO;
	}
	
	
}
